﻿using SqlSugar;

namespace StoreSQLSugar_API.Models
{
    public class StoreArea
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int StoreAreaId { get; set; }
        public string StoreAreaNo { get; set; } = string.Empty;
        public string StoreAreaName { get; set; } = string.Empty;
        public int StoreId { get; set; }
        public float Temperature { get; set; }
        public float MinTemperature { get; set; }
        public float MaxTemperature { get; set; }
        public int TemperatureStatus { get; set; }
        public string? Remark { get; set; } = null;
        public int Status { get; set; } = 0;
        public int CreateUserId { get; set; } 
        public DateTime CreateTime { get; set; } = DateTime.Now;
        public int? LastUpdateUserId { get; set; } = null;
        public DateTime? LastUpdateTime { get; set; } = null;
    }
}
